package com.stox.client.ui.javafx.chartingy.model.node;

import com.stox.client.ui.javafx.chartingy.model.plot.Data;
import com.stox.client.ui.javafx.core.util.CSS;
import com.stox.client.ui.javafx.core.util.UI;
import com.stox.shared.charting.model.Pnf.Box;
import com.stox.shared.core.model.Bar;
import com.stox.shared.core.model.Scrip;

public class CriclePnfNode extends AbstractPnfNode<CirclePnfBox> {

	public CriclePnfNode(final Data<Scrip, Bar> data) {
		super(data);
		UI.style(this, CSS.circlePnfNode);
	}

	@Override
	protected CirclePnfBox createBox(final Data<Scrip, Bar> data, final Box box) {
		return new CirclePnfBox(data, box);
	}

}
